package day01

object demo04类型转换 {
  def main(args: Array[String]): Unit = {
    var  int = 123
    var str = int.toString
    println("字符类型的" + str)
    var str1 = "123"
    var int2 = str1.toInt
    println("int类型的" + int2)
    var i = "a"
    println(i)
    println("a" + 1)
    println('a' + 1)

  }

}
